<!-- <div class="modal-body"> -->
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
        <div class="panel-heading ">
          创建公告
        </div>
        <div class="panel-body">
            <div class="container-fluid">
                <div class="wrapper-md ng-scope" style="text-align: center">
                    <h1 class="m-n font-thin h3 ng-binding">创建公告</h1>
                </div>
                <div class="col-sm-12" style="padding:10px">
                    <div class="form-group">
                        <label class="col-xs-4 control-label">公告名称:</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" ng-model="info.name" placeholder="公告名称" > 
                        </div>
                    </div>
                </div>
                <div class="col-sm-12" style="padding:10px">
                    <div class="form-group">
                        <label class="col-xs-4 control-label">公告内容:</label>
                        <div class="col-sm-4">
                            <textarea type="text" class="form-control" ng-model="info.content" placeholder="公告内容" rows="4" placeholder="请填写公告内容"> </textarea>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12" style="padding:10px">
                    <div class="form-group">
                        <label class="col-xs-4 control-label">上传资料:</label>
                        <div class="col-sm-4">
                            <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                                <i class="fa fa-file-image-o"></i> 上传资料
                            </button>                    
                        </div>
                    </div>  
                </div>
                <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
                    <div class="col-sm-4" >         
                    </div> 
                    <div class="col-sm-4">
                        <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                        <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                        <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
                    </div> 
                </div>
                <div class="col-sm-12" style="padding:20px">
                    <div class="col-sm-5"></div>
                    <div class="col-sm-4">
                        <button class="btn btn-success " ng-click="submit()">保存</button>
                    </div>
                </div>
            </div>
        </div>
      </div>
    </div>